package com.pmcc.yn.repository;

import com.pmcc.yn.entity.EnclosureInfo;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * Created by liliguo on 2019/1/14.
 */
public interface EnclosureInfoRepository extends JpaRepository<EnclosureInfo,String> {

    Page<EnclosureInfo> findAll(Specification<EnclosureInfo> spec, Pageable var1);

    EnclosureInfo findById(String id);
}